<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" 	prefix="s"%>
<%@ include file="/jsp/common/common_head.jsp"%>
<!DOCTYPE HTML>
<html>
<head>
<title>鹿图旅游语音播报平台</title>
<%@ include file="/jsp/common/common_script.jsp"%>
<style type="text/css">
</style>
</head>
<body>
<table class="queryTable" >
	<tr>
		<td class="queryTitle" width="80px">订单ID</td>
		<td class="queryContent">
			<input class="inputText" type="text" id="queryId" />
		</td>
		<td class="queryTitle" width="80px">会员名</td>
		<td class="queryContent">
			<input class="inputText" type="text" id="queryUserName" />
		</td>
		<td class="queryTitle" width="80px">景区名</td>
		<td class="queryContent">
			<input class="inputText" type="text" id="queryResortName" />
		</td>
		<td class="queryBtnTd">
			<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search"  onclick="doQuery()">查询</a>
		</td>
	</tr>
</table>

<table id="ordersGrid"></table>

<div id="addDlg" class="easyui-window" title="" closed="true" style="width:700px; height:auto;text-align:center; background: #fff;">
	<div  border="false" style="padding-left:20px;">
		<input type="hidden" id="submitType"/>
		<form id="personalForm"  method="POST">
			<!-- <table border="0" class="queryTable" width="95%" height="auto" style="margin-bottom:0px;" id="personalTable">
				<tr>	
					<td class="queryTitle">会员类型</td>
					<td class="queryContent">
						<input type="text" id="memberTypeName" name="memberTypeName" class="readOnlyText" readonly="readonly"/>
						<input type="hidden" id="memberType"  name="memberType"/>
					</td>
					<td class="queryTitle">会员ID</td>
					<td class="queryContent">
						<input type="text" id="memberId" name="memberId" class="inputText easyui-validatebox" data-options="required:true,validType:'maxLength[20]'"/>
					</td>
				</tr>
				<tr>	
					<td class="queryTitle">会员名称</td>
					<td class="queryContent">
						<input type="text" id="memberName" name="memberName" class="inputText easyui-validatebox" data-options="required:true,validType:'maxLength[30]'"/>
					</td>
					<td class="queryTitle">身份证号码</td>
					<td class="queryContent">
						<input type="text" id="identityCard" name="identityCard"  class="inputText easyui-validatebox" data-options="required:true,validType:['idCard','maxLength[20]']"/>
					</td>
					
				</tr>
				
				<tr>
					<td class="queryTitle">手机</td>
					<td class="queryContent">
						<input type="text" id="mobilephone" name="mobilephone" class="inputText easyui-validatebox" data-options="required:true,validType:['phone','maxLength[20]']"/>
					</td>
					<td class="queryTitle">电子邮箱</td>
					<td class="queryContent">
						<input type="text" id="email" name="email" class="inputText easyui-validatebox" data-options="required:true,validType:['email','maxLength[100]']"/>
					</td>
				</tr>
				
				<tr>
					<td class="queryTitle">车主车牌号</td>
					<td class="queryContent">
						<input type="text" id="licensePlateNo" name="licensePlateNo" class="inputText easyui-validatebox" data-options="required:true,validType:['maxLength[40]']"/>
					</td>
					<td class="queryTitle">车辆归属地</td>
					<td class="queryContent" colspan="3">
						<input type="text" id="address" name="address" class="inputText easyui-validatebox" data-options="required:true,validType:['maxLength[300]']"/>
					</td>
				</tr>
				
				<tr>
					<td class="queryTitle">邮政编码</td>
					<td class="queryContent">
						<input type="text" id="postCode" name="postCode" class="inputText easyui-validatebox" data-options="validType:['postCode','maxLength[10]']"/>
					</td>
					<td class="queryTitle">QQ/MSN</td>
					<td class="queryContent">
						<input type="text" id="qq" name="qq" class="inputText easyui-validatebox" data-options="validType:['qq','maxLength[30]']"/>
					</td>
				</tr>
				<tr height="80px">
					<td class="queryTitle">车辆简介</td>
					<td class="queryContent" colspan="3">
            			<textarea id="introduction" name="introduction" rows="10" cols="70" class="inputText easyui-validatebox" style="width:100%;resize:none;" data-options="required:true,validType:['maxLength[2000]']"></textarea>
					</td>
				</tr>
			</table> -->
			<table border="0" class="queryTable" width="95%" height="auto" style="margin-bottom:0px;" id="personalTable">
				<tr>	
					<td class="queryTitle">会员类型</td>
					<td class="queryContent">
						<input type="text" id="memberTypeName" name="memberTypeName" class="readOnlyText" readonly="readonly"/>
						<input type="hidden" id="memberType"  name="editUserInfoDto.userType"/>
					</td>
					<td class="queryTitle" id="useridTitle">会员ID</td>
					<td class="queryContent">
						<input type="text" id="userid" name="editUserInfoDto.id" class="inputText easyui-validatebox" data-options="required:true,validType:'maxLength[20]'"/>
					</td>
				</tr>
				<tr>	
					<td class="queryTitle">会员名（手机号）</td>
					<td class="queryContent">
						<input type="text" id="username" name="editUserInfoDto.username" class="inputText easyui-validatebox" data-options="required:true,validType:'maxLength[20]'"/>
					</td>
					<td class="queryTitle">电子邮箱</td>
					<td class="queryContent">
						<!-- <input type="text" id="email" name="email" class="inputText easyui-validatebox" data-options="required:true,validType:['email','maxLength[100]']"/> -->
						<input type="text" id="email" name="editUserInfoDto.email" class="inputText easyui-validatebox" data-options=""/>
					</td>
					
				</tr>
				<tr>	
					<td class="queryTitle">真实姓名</td>
					<td class="queryContent">
						<input type="text" id="realname" name="editUserInfoDto.realname" class="inputText easyui-validatebox" data-options=""/>
					</td>
					<td class="queryTitle">性别</td>
					<td class="queryContent">
						<!-- <input type="text" id="sex" name="sex"  class="inputText easyui-validatebox" data-options="required:true,validType:['idCard','maxLength[20]']"/> -->
					    <select id="sex" name="editUserInfoDto.sex"><option value="1">男</option><option value="2">女</option></select>
					</td>
				</tr>
				
			</table>
		</form>
		<form id="companyForm"  method="POST">
			<table border="0" class="queryTable" width="95%" height="auto" style="margin-bottom:0px;" id="companyTable">
				<tr>	
					<td class="queryTitle">会员类型</td>
					<td class="queryContent">
						<input type="text" id="memberTypeName" name="memberTypeName" class="readOnlyText" readonly="readonly"/>
						<input type="hidden" id="memberType"  name="memberType"/>
					</td>
					<td class="queryTitle">会员ID</td>
					<td class="queryContent">
						<input type="text" id="memberId" name="memberId" class="inputText easyui-validatebox" data-options="required:true,validType:'maxLength[20]'"/>
					</td>
				</tr>
				<tr>
					<td class="queryTitle">公司名称</td>
					<td class="queryContent">
						<input type="text" id="companyName" name="companyName" class="inputText easyui-validatebox" data-options="required:true,validType:'maxLength[300]'"/>
					</td>
					<td class="queryTitle">法人/负责人</td>
					<td class="queryContent">
						<input type="text" id="legalPerson" name="legalPerson"  class="inputText easyui-validatebox" data-options="required:true,validType:'maxLength[30]'"/>
					</td>
				</tr>
				
				<tr>
					<td class="queryTitle">营业执照号</td>
					<td class="queryContent">
						<input type="text" id="bussinessLicense" name="bussinessLicense" class="inputText easyui-validatebox" data-options="required:true,validType:'maxLength[30]'"/>
					</td>
					<td class="queryTitle">成立时间</td>
					<td class="queryContent">
						<input type="text" id="setupDate" name="setupDate"  class="easyui-datebox" data-options="required:true"/>
					</td>
				</tr>
				
				<tr>
					<td class="queryTitle">公司所在地</td>
					<td class="queryContent">
						<input type="text" id="address" name="address" class="inputText easyui-validatebox" data-options="required:true,validType:['maxLength[300]']"/>
					</td>
					<td class="queryTitle">邮政编码</td>
					<td class="queryContent">
						<input type="text" id="postCode" name="postCode"  class="inputText easyui-validatebox" data-options="validType:['postCode','maxLength[10]']"/>
					</td>
				</tr>
				<tr>
					<td class="queryTitle">公司简介</td>
					<td class="queryContent" colspan="3">
            			<textarea id="introduction" name="introduction" class="inputText easyui-validatebox" style="width:100%;resize:none;" rows="10" cols="70" data-options="required:true,validType:['maxLength[2000]']"></textarea>
					</td>
				</tr>
				
				<tr>
					<td class="queryTitle">联系人</td>
					<td class="queryContent">
						<input type="text" id="memberName" name="memberName" class="inputText easyui-validatebox" data-options="required:true,validType:'maxLength[30]'"/>
					</td>
					<td class="queryTitle">身份证号码</td>
					<td class="queryContent">
						<input type="text" id="identityCard" name="identityCard"  class="inputText easyui-validatebox" data-options="required:true,validType:['idCard','maxLength[20]']"/>
					</td>
					
				</tr>
				
				<tr>
					<td class="queryTitle">联系电话</td>
					<td class="queryContent">
						<input type="text" id="mobilephone" name="mobilephone" class="inputText easyui-validatebox" data-options="required:true,validType:['phone','maxLength[20]']"/>
					</td>
					<td class="queryTitle">电子邮箱</td>
					<td class="queryContent">
						<input type="text" id="email" name="email" class="inputText easyui-validatebox" data-options="required:true,validType:['email','maxLength[100]']"/>
					</td>
				</tr>
				
				<tr>
					<td class="queryTitle">QQ/MSN</td>
					<td class="queryContent">
						<input type="text" id="qq" name="qq" class="inputText easyui-validatebox" data-options="validType:['qq','maxLength[30]']"/>
					</td>
				</tr>
				
			</table>
		</form>
		<div id="notice" style="color:red">
		<strong>注意：</strong>新增会员的的默认密码统一为123456，请登录后及时更改！
		</div>
	</div>

	<div style="clear:both;padding-top:10px;margin-bottom:10px;text-align:center;" id="addBtn">
		<a class="easyui-linkbutton" iconCls="icon-ok" href="javascript:void(0)" onclick="doPostData()">确定</a>
		<a class="easyui-linkbutton" iconCls="icon-cancel" href="javascript:void(0)" onclick="cancelPostData()">取消</a>
    </div>
</div>
<script type="text/javascript" src="${ctx }/js/orders/orders_info.js"></script>
</body>
</html>
